home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat4 / group.z / group
Encoding:
Text File  |  1998-10-20  |  3.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. GGGGRRRROOOOUUUUPPPP((((4444))))                                                              GGGGRRRROOOOUUUUPPPP((((4444))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      group - group membership file
  10.  
  11. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  12.      The ////eeeettttcccc////ggggrrrroooouuuupppp file contains for each group the following information:
  13.  
  14.         +o group name
  15.  
  16.         +o encrypted password
  17.  
  18.         +o numerical group ID
  19.  
  20.         +o a comma separated list of all users allowed in the group
  21.  
  22.      For example, the entry for the _s_y_s group is:
  23.  
  24.           sys::0:root,bin,sys,adm
  25.  
  26.  
  27.      This is an ASCII file. A ``#'' at the beginning of a line indicates a
  28.      comment.  The ``#'' is only recognized at the beginning of a line, it
  29.      should not be used after the user list.  The fields are separated by
  30.      colons; each group is separated from the next by a new-line.  Except at
  31.      the beginning of each line, white-space is not ignored, thus in most
  32.      cases there should be no spaces e.g. in the user list.  If the password
  33.      field is null, no password is demanded.  A ``*'' in the password field
  34.      locks the entry.
  35.  
  36.      This file resides in the /_e_t_c directory.  Because of the encrypted
  37.      passwords, it can and does have general read permission and can be used,
  38.      for example, to map numerical group ID's to names.
  39.  
  40.      If the NFS option is installed, a group file can have a line beginning
  41.      with a plus (+), which means to incorporate entries from the NIS group
  42.      database.  There are two styles of + entries:  All by itself, + means to
  43.      insert the entire contents of the NIS group database at that point; +_n_a_m_e
  44.      means to insert the entry (if any) for _n_a_m_e from the NIS database at that
  45.      point.  If a + entry has a non-null password or group member field, the
  46.      contents of that field will override what is contained in the NIS
  47.      database.  The numerical group ID field cannot be overridden.
  48.  
  49.      A group file can also have a line beginning with a minus (-), these
  50.      entries are used to disallow group entries.  There is only one style of -
  51.      entries:  an entry that consists of -_n_a_m_e means to disallow any
  52.      subsequent entry (if any) for _n_a_m_e.  These entries will be disallowed
  53.      regardless of whether the subsequent entry comes from the NIS or the
  54.      local group file.
  55.  
  56.      For example, if the following entries
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. GGGGRRRROOOOUUUUPPPP((((4444))))                                                              GGGGRRRROOOOUUUUPPPP((((4444))))
  71.  
  72.  
  73.  
  74.           -oldproj
  75.           +myproject:::bill, steve
  76.           +:
  77.  
  78.      appear at the end of a group file, then the group _o_l_d_p_r_o_j will be ignored
  79.      if it appears after the entry -_o_l_d_p_r_o_j.  Also, the group _m_y_p_r_o_j_e_c_t will
  80.      have members _b_i_l_l and _s_t_e_v_e, and the password and group ID of the NIS
  81.      entry for the group _m_y_p_r_o_j_e_c_t.  All the groups listed in the NIS database
  82.      will be pulled in and placed after the entry for _m_y_p_r_o_j_e_c_t.
  83.  
  84. FFFFIIIILLLLEEEESSSS
  85.      /etc/group
  86.  
  87. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  88.      crypt(3), newgrp(1M), passwd(1), passwd(4)
  89.  
  90. BBBBUUUUGGGGSSSS
  91.      The _p_a_s_s_w_d(1) command won't change group passwords.
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.